﻿using System.ComponentModel;
using System.Runtime.Serialization;

namespace X.WPF.Controls.Enums
{
    /// <summary>
    /// 拖拽方向
    /// </summary>
    public enum DragDirection
    {
        /// <summary>
        /// 上左
        /// </summary>
        [EnumMember]
        [Description("上左")]
        TopLeft = 1,

        /// <summary>
        /// 上中
        /// </summary>
        [EnumMember]
        [Description("上中")]
        TopCenter = 2,

        /// <summary>
        /// 上右
        /// </summary>
        [EnumMember]
        [Description("上右")]
        TopRight = 4,

        /// <summary>
        /// 中左
        /// </summary>
        [EnumMember]
        [Description("中左")]
        MiddleLeft = 16,

        /// <summary>
        /// 中中
        /// </summary>
        [EnumMember]
        [Description("中中")]
        MiddleCenter = 32,

        /// <summary>
        /// 中右
        /// </summary>
        [EnumMember]
        [Description("中右")]
        MiddleRight = 64,

        /// <summary>
        /// 下左
        /// </summary>
        [EnumMember]
        [Description("下左")]
        BottomLeft = 256,

        /// <summary>
        /// 下中
        /// </summary>
        [EnumMember]
        [Description("下中")]
        BottomCenter = 512,

        /// <summary>
        /// 下右
        /// </summary>
        [EnumMember]
        [Description("下右")]
        BottomRight = 1024
    }
}
